//
//  ArrayBean.h
//  
//
//  Created by Eduardo Barbosa Moreira on 10/07/09.
//  Copyright 2010 EduardoBM. All rights reserved.
//

#import <Foundation/Foundation.h>

/**
 Bean that organizes the objects inside an array.
 */
@interface ArrayBean : NSObject {
	/**
	 Array that contains the data organized by this bean.
	 */
	NSArray *data;
}

@property(nonatomic, retain) NSArray *data;

/**
 @returns the quantity of fields.
 */
+ (int) getFieldsQuantity;

/**
 Initializes this bean with the array to be organized.
 */
- (id) initWithDataArray: (NSArray *)array;


@end